package com.xujinchen.array;

import java.lang.reflect.Array;
import java.util.Arrays;

public class ArrayDemo06 {
    public static void main(String[] args) {
        int[] a = {1,2,3,4,5,6,7,0,9};

        System.out.println(a);
        Arrays.sort(a);//数组排序；升序
        //打印数组元素
        System.out.println(Arrays.toString(a));

    }
}
